package org.grow.fund.feign;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: xwg
 * @CreateDate: 2023/10/9
 */

//@RestController
//@RequestMapping("/prac/codegen")
@FeignClient(path = "/prac/codegen", value = "PRACTICE")
public interface CodeGeneratorServiceFn {


    @GetMapping("/nextCode")
    public String nextCode(@RequestParam("code") String code);
}
